/*
 * @Description: 接口请求url
 * @version::
 * @Author: zhao
 * @Date: 2020-12-03 10:01:34
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-03-08 11:36:23
 */
import nuxtConfig from '../../nuxt.config.js';
const { env = {} } = nuxtConfig;
const { __ENV } = env;
const CONFIG_JSON = {
    develop: { //开发
        // baseUrl: 'https://bsysrc.cqbsyou.com',//套壳z后台测试地址
        baseUrl: 'https://bsg.cqbsyou.com/medicalApi',
    },
    publish: { //正式
        baseUrl: 'https://djtravel.top/backmanageapi',
    },
};
const COMMON = CONFIG_JSON[__ENV || 'develop'];
const CONFIG = Object.assign({}, COMMON, {
    envName: __ENV,
    dev: COMMON.baseUrl, //兼容旧的引用
});
export default CONFIG;

/**
 * @description api请求基础路径
 */
// dev: "https://dianliyou.com/backmanageapi/", //测试地址
// dev:'http://47.96.13.1:8181/backmanageapi',//正式地址
// dev: "https://djtravel.top/backmanageapi", //正式环境
// dev: 'http://192.168.31.8:8181' //本地
/**
 * @description 默认打开的首页的路由name值，默认为home
 */
